package com.ruoyi.student.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 学生对象 bbl-student
 * 
 * @author hoyo
 * @date 2022-12-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentTrackDto extends BaseEntity
{
    /*主键id*/
    private Long id;

    /*学生id*/
    private Long stuSn;

    /** 学生问题 */
    @Excel(name = "问题")
    private String problem;

    /** 分数 */
    @Excel(name = "扣除分数")
    private Long deductMarks;

    /** 发生时间 */
    @Excel(name = "发生时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date occurrenceTime;

    /*问题描述*/
    private String problemDescription;

    /*老师ID*/
    private Long teacherId;

    /*老师名称*/
    private String teacherName;
}
